{extend name="$base" /}
{block name="resources"}
<link rel="stylesheet" type="text/css" href="WAP_CSS/login_find.css">
{/block}
{block name="main"}
{php}
	$type = request()->get('type', 1);
{/php}
<!-- 密码修改 -->
{if condition="$type == 1"}
<!-- 手机 -->
<form class="mt-55 mlr-15" id="editpassword">
	<div>
		<span>手机号：</span>
		<input type="text" name="mobile" id="mobile" placeholder="输入11位手机号" >
	</div>
	<div>
		<span>验证码</span>
		<input type="text" id="mobile-code" class="handset" name="mobile-code" placeholder="请输入手机验证码" />
		<input type="button" class="send-out-code ns-border-color ns-text-color sendcode" id="send_mobile" value="获取验证码">
	</div>
	<div>
		<span>{:lang('member_new_password')}：</span>
		<input type="text" id="mobile-pass" name="mobile-pass" placeholder="{:lang('member_new_password')}" onfocus="$(this).attr('type','password')"/>
		<span class="cl">{:lang('confirm_new_password')}：</span>
		<input type="text" id="mobile-new-pass" name="mobile-new-pass" placeholder="{:lang('confirm_new_password')}" onfocus="$(this).attr('type','password')">
	</div>
</form>
{else/}
<!-- 邮箱 -->
<form class="mt-55 mlr-15" id="editpassword" >
	<div>
		<span>邮箱号：</span>
		<input type="text" name="email" id="email"  placeholder="输入注册邮箱号" >
	</div>
	<div>
		<span>验证码</span>
		<input type="text" id="email-code" name="email_code" placeholder="请输入邮箱验证码" />
		<input type="button" class="send-out-code sendcode ns-border-color ns-text-color" id="send_mobile" value="获取验证码" >
	</div>
	<div><span>{:lang('member_new_password')}：</span>
		<input type="text" id="email-pass" name="email-pass" placeholder="{:lang('member_new_password')}" onfocus="$(this).attr('type','password')"/>
		<span class="cl">{:lang('confirm_new_password')}：</span>
		<input type="text" id="email-new-pass" name="email-new-pass"
		 placeholder="{:lang('confirm_new_password')}" onfocus="$(this).attr('type','password')">
	</div>
</form>
{/if}
<div id="saveBtn" class="button-submit">
	<a href="javascript:void(0)">
		<button  id="btn_submit" class="ns-bg-color">{:lang('member_preservation')}</button>
	</a>
</div>
<input type="hidden" id="tesing" value="{$type}" />
{/block}
{block name="footer"}{/block}
{block name="script"}
<script src="WAP_JS/login_find.js"></script>
{/block}